package com.iweb.orderApp;

//菜品信息
public class MenuItems {
    private String dishName;
    private double dishPrice;
    private int goodNum;//点赞数

    public MenuItems(String dishName, double dishPrice, int goodNum) {
        this.dishName = dishName;
        this.dishPrice = dishPrice;
        this.goodNum = goodNum;
    }

    public String getDishName() {
        return dishName;
    }

    public void setDishName(String dishName) {
        this.dishName = dishName;
    }

    public double getDishPrice() {
        return dishPrice;
    }

    public void setDishPrice(double dishPrice) {
        this.dishPrice = dishPrice;
    }

    public int getGoodNum() {
        return goodNum;
    }

    @Override
    public String toString() {
        return "MenuItems{" +
                "dishName='" + dishName + '\'' +
                ", dishPrice=" + dishPrice +
                ", goodNum=" + goodNum +
                '}';
    }

    public void setGoodNum(int goodNum) {
        this.goodNum = goodNum;
    }
}
